package survey.service.impl;

import java.util.List;

import javax.annotation.Resource;

import survey.dao.AnswerDao;
import survey.entity.Answer;
import survey.service.AnswerService;

public class AnswerServiceImpl implements AnswerService{
	@Resource
	private AnswerDao answerDao;
	


	public AnswerDao getAnswerDao() {
		return answerDao;
	}



	public void setAnswerDao(AnswerDao answerDao) {
		this.answerDao = answerDao;
	}



	public List<Answer> queryAnserByQId(int qId) {
		return answerDao.queryAnserByQId(qId);
	}

}
